package com.sz.biz.logistics.base.service;

import com.sz.biz.logistics.base.entity.FlightDetail;
import com.sz.biz.logistics.base.dto.FlightDetailDto;

import java.util.List;

/**
 * Function: FlightDetailService <br>
 * Author: wentao.chang <br>
 * Date: 2017-08-21 15:47:00
 */
public interface FlightDetailService {

    void save(List<FlightDetailDto> flightDetailDto);

    /**
     * 根据flightId删除明细
     *
     * @param flightId flightId
     */
    void deleteByFlightId(Integer flightId);

    /**
     * 根据id查询航班信息
     *
     * @param flightId flightId
     * @return FlightDto
     */
    List<FlightDetail> findByFlightId(Integer flightId);


}
